package com.budwk.app.sms.service.impl;

import com.budwk.app.sms.dto.SmsMsgDTO;
import com.budwk.app.sms.service.OpaSmsService;
import com.budwk.app.sms.service.TenYuSmsService;
import com.budwk.app.sms.service.TencentSmsService;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import io.github.silencelwy.smsapi.SendSmsApi;
import io.github.silencelwy.smsapi.vo.MessageSendResVo;
import io.github.silencelwy.smsapi.vo.SmsResponse;
import org.nutz.ioc.impl.PropertiesProxy;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;

import java.util.LinkedList;
import java.util.Set;

/**
 * @author ZY.Wang
 * @since 2023/5/30
 */
@IocBean
public class OpaSmsServiceImpl implements OpaSmsService {

    private static final String sendMessageUrl = "https://opassapi.infocloud.cc/sms/Api/Send.do";

    @Inject
    private TenYuSmsService tenYuSmsService;

    public Integer opaSmsSendOneMessage(SmsMsgDTO msgDTO) {
        return tenYuSmsService.tenYuSendMessage(msgDTO);
    }
}
